package gameComponents;

import java.io.IOException;

/**
 * Superclass to ChessGame, QueenGame, KnightGame.
 * Used in Controller for selecting a game to play.
 * @author Vivian Andreeva
 */
public abstract class SuperGame {
	
	
	public abstract void play() throws IOException;
	
	
	/**
	 * A getter for returning which game was chosen by the user.
	 * 
	 * @return the game object chosen by user
	 * @author Vivian Andreeva
	 */
	public SuperGame getGame() {
		return this;
	}
}
